<?php
namespace Admin\Controller;

use Common\Controller\AdminbaseController;

class RechargeController extends AdminbaseController{
	
	// 微信用户列表
	public function index(){
		$Charge = M("Recharge_log");

		$list   = $Charge->alias('r')
		                 ->join('__USER__ u on r.user_id = u.id','left')
		                 ->field('u.mobile,r.user_id,r.amount,r.type,r.time')
		                 ->order('r.time desc')
		                 ->select();
	    $this->assign('list',$list);
        $this->display();
	}
}